const router = require('koa-router')();
const yiXianTongController = require('../controllers/YiXianTong');

router.prefix('/Yixiantong');

// router.get('/getHomeDatas/:cityId?', yiXianTongController.getHomeDatas);
router.post('/getHomeDatas', yiXianTongController.getHomeDatas);
router.post('/getListDatas', yiXianTongController.getListDatas);
router.post('/getDetail', yiXianTongController.getDetailDatas);
router.post('/searchAction', yiXianTongController.searchAction);


module.exports = router;